﻿<div [@routerTransition]>
    <div class="m-subheader ">
        <div class="d-flex align-items-center">
            <div class="mr-auto col-xs-6">
                <h3 class="m-subheader__title m-subheader__title--separator">
                    <span>成本展示</span>
                </h3>
                <span>
                    <span style="margin-left:10px;">选择时间：</span>
                    <div style="width:120px;display:inline-block;">
                        <p-calendar
                            [(ngModel)]="selectedDate"
                            view="month"
                            dateFormat="yy-mm"
                            [yearNavigator]="true"
                            yearRange="2000:2030"
                            [locale]="calendarHelper.cn"
                        ></p-calendar>
                    </div>
                </span>
            </div>
            <div class="col-xs-6 text-right">
                <!-- <span *ngIf="fileName" style="margin-right:20px; color: #20c997;">{{ fileName }}</span> -->
                <!-- <button class="btn btn-primary" (click)="confirmImport()" style="margin-left: 10px;">确认导入</button> -->
            </div>
        </div>
    </div>
    <div class="m-content">
        <div class="row">
            <div class="col-lg-3">
                <p-tree
                    [value]="treeData"
                    selectionMode="single"
                    (onNodeSelect)="onNodeSelect($event)"
                    (onNodeExpand)="onNodeExpand($event)"
                ></p-tree>
            </div>
            <div class="col-lg-9"></div>
        </div>
    </div>
</div>
